﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LTSMZ.life.Model;
using LTSMZ.life.BLL;


namespace LTSMZ.life.UI.Controllers
{
    public class SecondTypeController : Controller
    {
        //
        // GET: /SecondType/
        SecondTypeBll bll = new SecondTypeBll();
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult ShowSecond1()
        {
            List<SecondType> list = bll.ShowSecond1();
            return Json(list, JsonRequestBehavior.AllowGet);
        }

    }
}
